﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.RbacData.Domain.Traceabilitys
{
    /// <summary>
    /// 养殖企业信息
    /// </summary>
    public  class FarmingCorporateModel
    {

        /// <summary>
        /// 企业编号
        /// </summary>
        [Key]
        public int CorporateId { get; set; }

        /// <summary>
        /// 养殖场
        /// </summary>

        public string FarmingAddtrss { get; set; } = null!;

        /// <summary>
        /// 负责人
        /// </summary>
        public string  FarmingPerson { get; set; } = null!;

        /// <summary>
        /// 存栏数量
        /// </summary>
        public int  FarmingNum { get; set; } 

        /// <summary>
        /// 溯源编号
        /// </summary>
        public int  ProductId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Creatime { get; set; }= DateTime.Now;
    }
}
